package com.ruoyi.web.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.math.BigDecimal;

/**
 * 商户信息对象 mer_info
 * 
 * @author ruoyi
 * @date 2021-04-04
 */
public class MerInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 商户号 */
    @Excel(name = "商户号")
    private String merchCd;

    /** 商户名 */
    @Excel(name = "商户名")
    private String merName;

    /** 附加信息 */
    @Excel(name = "附加信息")
    private String addInfo;

    /** 结算账号 */
    @Excel(name = "结算账号")
    private String account;

    /** 结算账号名称 */
    @Excel(name = "结算账号名称")
    private String accountName;

    /** 币种 */
    @Excel(name = "币种")
    private String currency;

    /** 账户可用余额 */
    @Excel(name = "账户可用余额")
    private BigDecimal balance;

    /** 客户代号 */
    @Excel(name = "客户代号")
    private String custNo;

    /** 开户网点编号 */
    @Excel(name = "开户网点编号")
    private String openBranchCode;

    public void setMerchCd(String merchCd) 
    {
        this.merchCd = merchCd;
    }

    public String getMerchCd() 
    {
        return merchCd;
    }
    public void setMerName(String merName) 
    {
        this.merName = merName;
    }

    public String getMerName() 
    {
        return merName;
    }
    public void setAddInfo(String addInfo) 
    {
        this.addInfo = addInfo;
    }

    public String getAddInfo() 
    {
        return addInfo;
    }
    public void setAccount(String account) 
    {
        this.account = account;
    }

    public String getAccount() 
    {
        return account;
    }
    public void setAccountName(String accountName) 
    {
        this.accountName = accountName;
    }

    public String getAccountName() 
    {
        return accountName;
    }
    public void setCurrency(String currency) 
    {
        this.currency = currency;
    }

    public String getCurrency() 
    {
        return currency;
    }
    public void setBalance(BigDecimal balance)
    {
        this.balance = balance;
    }

    public BigDecimal getBalance()
    {
        return balance;
    }
    public void setCustNo(String custNo) 
    {
        this.custNo = custNo;
    }

    public String getCustNo() 
    {
        return custNo;
    }
    public void setOpenBranchCode(String openBranchCode) 
    {
        this.openBranchCode = openBranchCode;
    }

    public String getOpenBranchCode() 
    {
        return openBranchCode;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("merchCd", getMerchCd())
            .append("merName", getMerName())
            .append("addInfo", getAddInfo())
            .append("account", getAccount())
            .append("accountName", getAccountName())
            .append("currency", getCurrency())
            .append("balance", getBalance())
            .append("custNo", getCustNo())
            .append("openBranchCode", getOpenBranchCode())
            .toString();
    }
}
